package com.usian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

/**
 * @author 陈宇轩
 * @version 1.0
 * @date 2023/7/31 15:47
 */

@Data
@ToString
@TableName("t_content")
public class Content {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableId(value = "image_url")
    private String imageUrl;
    @TableId(value = "image_title")
    private String imageTitle;
    @TableId(value = "image_href")
    private String imageHref;
    @TableId(value = "image_status")
    private String imageStatus;
    @TableId(value = "image_sort")
    private String imageSort;
    @TableField(exist = false)
    private Integer num;
}
